home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 4,701 to 4,800 / aol-file-protocol-4400-4701-to-4800.zip / AOLDLs / User Contributions / HORNET_ Hornet Scenario Edito / Hornet Scenario Editor 1.02.sit / Hornet Scenario Editor 1.02 / Hornet Scenario Editor 1.0.2 / stack_-1.xml < prev    next >
Extensible Markup Language  |  1983-05-06  |  3KB  |  34 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in.2</name>
  5.     <id>-1</id>
  6.     <cardCount>15</cardCount>
  7.     <cardID>7455</cardID>
  8.     <listID>6971</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>608</width>
  14.         <height>432</height>
  15.     </cardSize>
  16.     <script>on openStackenable bg button "Open Data"disable bg button "Close Data"disable bg button "Read Data"disable bg button "Write Data"disable bg button "Demo"disable bg button "Kuwait"end openStackon openCardput the number of this card into field theCardput field "object" into tempselect line temp of bg button "Vehicle"end openCardon newCardput 1 into field Objectend newCardfunction baseglobal theBaseif the enabled of bg button "Demo" is true thenput the selectedLine of bg button "Demo" into theLineelseput the selectedLine of bg button "Kuwait" into theLineend ifput word 2 of theLine into theMissionif theMission>7 then subtract 1 from theMissionif theMission>13 then subtract 1 from theMissionreturn (theMission-1)*41208+theBaseend basefunction nextHexglobal refNumput HornetNumRead(refNum) into tempif temp<0 then add 4294967296 to temprepeat 8 timesput temp mod 16 into cput temp div 16 into tempput HexToChar(c) before xend repeatreturn xend nextHexfunction HexToChar cif c=o thenreturn "0"elseif c<10 then return NumToChar(c-1+CharToNum("1"))elsereturn NumToChar(c-10+CharToNum("A"))end ifend ifend HexToCharFunction NumToHex xput HexToChar(x mod 16) into tempput HexToChar(x div 16) before tempreturn tempend NumToHexFunction Hex xreturn offset(x,"0123456789ABCDEF")-1end HexFunction HexToNum xreturn 16*Hex(char 1 of x)+Hex(char 2 of x)end HexToNumon NumWrite xglobal refNumif x<0 then add 4294967296 to xHornetNumWrite refNum,xend NumWrite</script>
  17.     <background id="2653" file="background_2653.xml" name="" />
  18.     <card id="7455" file="card_7455.xml" marked="false" name="" owner="2653" />
  19.     <card id="7878" file="card_7878.xml" marked="false" name="" owner="2653" />
  20.     <card id="8124" file="card_8124.xml" marked="false" name="" owner="2653" />
  21.     <card id="8422" file="card_8422.xml" marked="false" name="" owner="2653" />
  22.     <card id="8639" file="card_8639.xml" marked="false" name="" owner="2653" />
  23.     <card id="8852" file="card_8852.xml" marked="false" name="" owner="2653" />
  24.     <card id="9018" file="card_9018.xml" marked="false" name="" owner="2653" />
  25.     <card id="9344" file="card_9344.xml" marked="false" name="" owner="2653" />
  26.     <card id="9654" file="card_9654.xml" marked="false" name="" owner="2653" />
  27.     <card id="9893" file="card_9893.xml" marked="false" name="" owner="2653" />
  28.     <card id="10147" file="card_10147.xml" marked="false" name="" owner="2653" />
  29.     <card id="10378" file="card_10378.xml" marked="false" name="" owner="2653" />
  30.     <card id="10694" file="card_10694.xml" marked="false" name="" owner="2653" />
  31.     <card id="10924" file="card_10924.xml" marked="false" name="" owner="2653" />
  32.     <card id="11166" file="card_11166.xml" marked="false" name="" owner="2653" />
  33. </stack>
  34.